package sisi.unitmeasure;

import java.io.Serializable;
import javax.persistence.*;


/**
 * Unitmeasure.java - The persistent class for the <i>unit measure database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 12/11/2013
 * 
 */
@Entity
public class Unitmeasure implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="UNITMEASURE_ID_GENERATOR", sequenceName="UNITMEASURESEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="UNITMEASURE_ID_GENERATOR")
	private Integer id;

	private String descum;

	private String um;

	/**
	 * Unitmeasure.java - The persistent class for the <i>unit measure database table</i>. 
	 * @author Pedro Gonzalez pedro@sisisoftware.it
	 * @author Claudio Pelosi claudio@sisisoftware.it
	 * @author SISI Software S.n.c. - www.sisisoftware.it
	 * @version 1.0, 12/11/2013
	 * 
	 */
	public Unitmeasure() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDescum() {
		return this.descum;
	}

	public void setDescum(String descum) {
		this.descum = descum;
	}

	public String getUm() {
		return this.um;
	}

	public void setUm(String um) {
		this.um = um;
	}

}